package com.youlu.campus.entity.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * 微信网站应用开放平台用户信息
 */
@Getter
@Setter
public class WechatSiteUserInfoDomain implements Serializable {
    @JsonProperty("openid")
    private String openId;
    @JsonProperty("nickname")
    private String nickName;
    @JsonProperty("sex")
    private Integer sex;
    @JsonProperty("province")
    private String province;
    @JsonProperty("city")
    private String city;
    @JsonProperty("country")
    private String country;
    @JsonProperty("headimgurl")
    private String avatarUrl;
    @JsonProperty("unionid")
    private String unionId;
    private List<String> privilege;
}
